package com.elink.enginerring.subject.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.common.BaseCo;
import com.elink.enginerring.file.entity.File;
import com.elink.enginerring.subject.entity.SubjectFile;

public interface SubjectFileMapper {
    int insert(SubjectFile record);

    int insertSelective(SubjectFile record);
    
	void insertBatch(List<SubjectFile> fdc);
	
	List<File> selectList(@Param("catalogId")String catalogId,@Param("co")BaseCo co);

	int selectCount(@Param("catalogId")String catalogId,@Param("co")BaseCo co);
	
	List<File> selectListByCatalogId(@Param("catalogId")String catalogId,@Param("co")BaseCo co);

	int selectCountByCatalogId(@Param("catalogId")String catalogId,@Param("co")BaseCo co);
}